package com.shiro.mapper;

import com.shiro.pojo.User;
import com.shiro.pojo.UserRole;

public interface UserRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    int deleteByUser(long uid );

    int deleteByRole(long rid );
}